% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{pw}
\alias{pw}
\title{Calculates prognosis weights from observed control-group sample}
\usage{
pw(data, covariates, treatment, outcome, standardize, simulation)
}
\arguments{
\item{data}{data.frame containing covariates, treatment assignment, and outcome variable}

\item{covariates}{character vector of covariate names}

\item{treatment}{name of variable indicating (binary) treatment assigned}

\item{outcome}{name of outcome variable}

\item{standardize}{whether to standardize data inside function}

\item{simulation}{logical. Whether running the function on bootstrap sample}
}
\description{
Calculates prognosis weights from observed control-group sample
}
